import React from "react";
import ReactDOM from "react-dom";
import TodoList from "./TodoList";
import { Provider } from "react-redux";
import store from "./store";

// Provider中的插件都可以使用传入的store
const App = (
	<Provider store={store}>
		<TodoList />
	</Provider>
);

ReactDOM.render(App, document.getElementById("root"));
